//
//  MusicViewCell.m
//  QQMusic
//
//  Created by wwj on 16/4/25.
//  Copyright © 2016年 wwj. All rights reserved.
//

#import "MusicViewCell.h"
#import "LrcLable.h"
#import "Masonry.h"

@interface MusicViewCell ()

@end

@implementation MusicViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self initView];
    }
    return self;
}

- (void)initView{
    LrcLable *lrcLable = [[LrcLable alloc] init];
    
    [self.contentView addSubview:lrcLable];
    lrcLable.translatesAutoresizingMaskIntoConstraints = NO;
    [lrcLable mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self.contentView);
    }];
    self.lrcLable = lrcLable;
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.lrcLable.textAlignment = NSTextAlignmentCenter;
    self.lrcLable.textColor = [UIColor whiteColor];
    self.backgroundColor = [UIColor clearColor];
    self.autoresizingMask = UIViewAutoresizingNone;
    
}


@end
